<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <title>文件上传</title>
</head>
<body>
<h1>文件上传</h1>
<form action="upload" method="post" enctype="multipart/form-data">
    <div>
        <label for="file">选择文件:</label>
        <input type="file" id="file" name="file" required>
    </div>
    <div>
        <label for="filename">自定义文件名:</label>
        <input type="text" id="filename" name="filename" required>
    </div>


    <div>
        <label for="userName">userName</label>
        <input type="text" id="userName" name="userName" required>
    </div>


    <div>
        <label for="token">token</label>
        <input type="text" id="token" name="token" required>
    </div>


    <input type="submit" value="上传">
</form>
</body>
</html>